package Lab05.Q4;

import Lab05.Q4.Ellipse;
import Lab05.Q4.Rectangle;
import Lab05.Q4.Rhombus;

public class ShapeTest {
    public static  void main(String[] args){
        Rectangle a=new Rectangle(4,5);
        a.set(3,5);
        System.out.println(a.calcArea());
        Rhombus b=new Rhombus(4,5);
        System.out.println(b.calcArea());
        Ellipse c=new Ellipse(4,5);
        System.out.println(c.calcArea());
    }
}
